<!--菜单搜索功能-->
<!--先写静态页面-->
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>Green-download</title>
    <style>
        * {
            box-sizing: border-box;
        }
        
        .container {
            padding: 10px;
        }
        
        .dnav {
            float: left;
            padding: 5px;
            background: grey;
        }
        
        .dnav ul {
            list-style-type: none;
            margin: 10px;
            padding: 0px;
        }
        
        .dnav ul li {
            height: 20px;
        }
        
        .dnav ul li a {
            padding: 10px;
            margin: 20px;
            text-decoration: none;
            font-size: 18px;
            color: black;
            display: block
        }
        
        .dnav ul li a:hover {
            color: white;
        }
        
        .dnav input {
            width: 100%;
            font-size: 18px;
            padding: 11px;
            border: 1px solid #ddd;
        }
        
        .content {
            float: left;
            width: 70%;
            padding: 5px;
            background: lightgrey;
        }
    </style>
</head>

<body>
    <div class="container">
        <!--左右布局的实例-->
        <div class="dnav">
            <nav class="nav">
                <h2>索引
                    <h2>
                        <input placeholder="请输入关键字" id="mysearch" onkeyup="search()">
                        <ul>
                            <LI>
                                <a href="javascript:history.back(-1)">BACK</a>
                            </LI>
                        </ul>
            </nav>
        </div>
        <div class="content">
            <h1>----Eclipse----</h1>
            <h2>Updated：2021/7/13</h2>
            <h2>_Sketch></h2>
            <h3>CN:</h3>
            <p>
                Eclipse Babel项目。Eclipse是一个全球社区。确保Eclipse可用并在尽可能多的语言环境中进行翻译符合每个人的利益。
            </p>
            <H3>EN:</H3>
            <p>
                clipse Babel Project. Eclipse is a global community. It is in everyone's interest to ensure that Eclipse is available and translated in as many locales as possible.
                <h2>install[安装]</h2>

                <p>
                    [en]What to fill under "work with"：https://download.eclipse.org/technology/babel/update-site/[Version number]/[update day]/
                </p>
                <p>
                    [cn]在work with下填写的内容：https://download.eclipse.org/technology/babel/update-site/[版本号]/[更新日期]/

                </p>
            </p>
            <h2>Version number[版本号]</h2>
            <div>
                <div id="midcolumn">
                    <p>Official download address:
                        <a href="https://www.eclipse.org/babel/downloads.php">https://www.eclipse.org/babel/downloads.php</a>
                    </p>
                    <P>The latest version：R0.19.0</P>
                    <!-- 版本号  -->
                    <h2>
                        <a href="https://download.eclipse.org/technology/babel/babel_language_packs/R0.19.0/index.php">Babel Language Pack Zips and Update Sites - R0.19.0</a> (2021/06/30)
                    </h2>
                    <table>
                        <tr>
                            <td rowspan="2" valign="top"><img src="https://dev.eclipse.org/large_icons/actions/go-bottom.png" /></td>
                            <td><b>Babel Language Pack Zips</b></td>
                        </tr>
                        <tr>
                            <td>
                                <a href="https://download.eclipse.org/technology/babel/babel_language_packs/latest/index.php">Latest Release</a> |
                                <a href="https://download.eclipse.org/technology/babel/babel_language_packs/R0.19.0/2021-06/2021-06.php">2021-06</a> |
                                <a href="https://download.eclipse.org/technology/babel/babel_language_packs/R0.19.0/2021-03/2021-03.php">2021-03</a> |
                                <a href="https://download.eclipse.org/technology/babel/babel_language_packs/R0.19.0/2020-12/2020-12.php">2020-12</a>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">&#160;</td>
                        </tr>
                        <tr>
                            <td><img src="https://dev.eclipse.org/large_icons/actions/go-bottom.png" /></td>
                            <td>
                                <b>Babel Language Pack Update Site for Latest Release</b><br /> https://download.eclipse.org/technology/babel/update-site/latest/
                                <br />
                                <a href="https://eclipse.org/downloads/download.php?file=/technology/babel/update-site/babel-latest.zip">Zipped p2 Repository for Latest Release (160 MB)</a><br />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">&#160;</td>
                        </tr>
                        <tr>
                            <td><img src="https://dev.eclipse.org/large_icons/actions/go-bottom.png" /></td>
                            <td>
                                <b>Babel Language Pack Update Site for 2021-06</b><br /> https://download.eclipse.org/technology/babel/update-site/R0.19.0/2021-06/
                                <br />
                                <a href="https://eclipse.org/downloads/download.php?file=/technology/babel/update-site/R0.19.0/babel-R0.19.0-2021-06.zip">Zipped p2 Repository for 2021-06 (160 MB)</a><br />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">&#160;</td>
                        </tr>
                        <tr>
                            <td><img src="https://dev.eclipse.org/large_icons/actions/go-bottom.png" /></td>
                            <td>
                                <b>Babel Language Pack Update Site for 2021-03</b><br /> https://download.eclipse.org/technology/babel/update-site/R0.19.0/2021-03/
                                <br />
                                <a href="https://eclipse.org/downloads/download.php?file=/technology/babel/update-site/R0.19.0/babel-R0.19.0-2021-03.zip">Zipped p2 Repository for 2021-03 (120 MB)</a><br />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">&#160;</td>
                        </tr>
                        <tr>
                            <td><img src="https://dev.eclipse.org/large_icons/actions/go-bottom.png" /></td>
                            <td>
                                <b>Babel Language Pack Update Site for 2020-12</b><br /> https://download.eclipse.org/technology/babel/update-site/R0.19.0/2020-12/
                                <br />
                                <a href="https://eclipse.org/downloads/download.php?file=/technology/babel/update-site/R0.19.0/babel-R0.19.0-2020-12.zip">Zipped p2 Repository for 2020-12 (114 MB)</a><br />
                            </td>
                        </tr>
                    </table>
                    <h2>面向中国人</h2>
                    <p>
                        离线安装包的下载地址:
                        <a href="https://pan.baidu.com/s/10Opggde6KoHiD9Rs236YFw">https://pan.baidu.com/s/10Opggde6KoHiD9Rs236YFw 
                            提取码：8888</a>,版本为2021-06
                    </p>
                </div>
            </div>

        </div>

        </p>
    </div>
    <script>
        //功能：主要是过滤，通过转换为大写toUpperCase,然后用indexOff来查询返回字符串位子，无就返回-1
        function search() {
            var input = document.getElementById("mysearch").value;
            var li = document.getElementsByTagName("li");
            var fliter = input.toUpperCase();
            for (var i = 0; i < li.length; i++) {
                if (li[i].innerHTML.toUpperCase().indexOf(fliter) > -1) {
                    li[i].style.display = "block";
                } else {
                    li[i].style.display = "none";
                }

            }

        }
    </script>
</body>

</html>